@import "https://fonts.googleapis.com/css?family=Source+Sans+Pro:100,300,400,600";
@import "https://fonts.googleapis.com/css?family=Noto+Serif+SC:100,300,400,600";
@import "https://fonts.googleapis.com/css?family=Noto+Serif+SC:400,700&display=swap&subset=chinese-simplified";
@import "base.css";
* {
    padding: 0 ;
    margin: 0 ;
}
body {
    width: 100% ;
    display: flex;
    flex-direction: row;
    justify-content:flex-end;
    &::before{
        content:"";
        top: 0 ;
        left: 0 ;
        bottom: 0 ;
        right: 0 ;
        opacity: 0.06 ;
        position: fixed ;
        background: center/cover no-repeat ;
        background-image: url("../img/indexBackground.png");
    }
}
.extra-box{
    position: fixed;
    left: 10vw;
    bottom: 30vh ;
    height: auto ;
    width: auto ;
    transform-style: preserve-3d;
    transition: 0.5s ;
    z-index: 1 ;
    .acticle-title{
        height: auto ;
        width: auto ;
        //background-color: red ;
        border-right: solid 2px #2f3542;
        font-family: "Noto Serif SC","HiraMinProN-W6","Source Han Serif CN","Source Han Serif SC","Source Han Serif TC",serif;
        writing-mode: vertical-rl;
        padding-bottom: 10px ;
        padding-top: 10px ;
        font-size: 32px ;
        line-height: 60px ;
        font-weight: 900 ;
        line-height: 2.2em ;
        color: #2f3542 ;
        backface-visibility: hidden ;
        transition: 0.5s ;
        user-select: none ; 
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08); 
        .roteZInf5S{
            width: 1.5em; 
            height: 1.5em;
            position: absolute;
            left: -20px ;
            top: -20px ;
            font-size: 20px ;
            display: block;
            transform:  rotateZ(0deg);
            animation-name: roteZInf;
            animation-duration: 5s;
            animation-delay: 0s;
            animation-play-state: running;
            animation-iteration-count: infinite ;
            animation-timing-function: ease-in-out;
        }
        &:hover{
            background: #2d3436 ;
            border-right: solid transparent  2px;
            color: #f1f2f6 ; 
        }
    }
    .acticle-nav{
        position: absolute;
        box-sizing: border-box; 
        top: 0 ;
        left: -80px ;
        width: auto ;
        height: auto ;
        transition: 0.5s ;
        border-left: solid 2px #2f3542 ;
        backface-visibility: hidden ;
        transform: rotateY(180deg);
        padding-left: 5px ;
        padding-bottom: 10px ;
        list-style: none ;
        a{
            color: rgba(87, 96, 111,1.0) ;
            text-shadow: 0px 0px 2px rgba(87, 96, 111,0.3) ;
            text-decoration: none;
            position: relative;
            transition:0.3s ;
            &::after{
                content:"";
                position: absolute;
                left: 0 ;
                top: 0 ;
                width: 110% ;
                height: 120% ;
                background: rgba(47, 53, 66,1.0) ;
                transform: scaleX(0);
                transition:0.3s ;
                transform-origin: left;
                z-index: -1 ;
            }
            &:hover{
                color: #ffffff ;
            }
            &:hover::after{
                 transform: scaleX(1);
            }
        }
        ul{
            list-style: none;
        }
        .roteZInf5S{
            width: 1.5em; 
            height: 1.5em;
            position: absolute;
            right: 20px ;
            top: -30px ;
            font-size: 20px ;
            display: block;
            transform:  rotateZ(0deg);
            animation-name: roteZInf;
            animation-duration: 5s;
            animation-delay: 0s;
            animation-play-state: running;
            animation-iteration-count: infinite ;
            animation-timing-function: ease-in-out;
        }
        li{
            font-family: "Josefin Sans Light",-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","'Hiragino Sans GB",STHeiti,"Microsoft Yahei","Source Han Sans SC","Noto Sans CJK SC","WenQuanYi Micro Hei",Arial,Verdana,sans-serif;
            color: #2f3542;
            margin-top: 5px ;
            margin-left: 10px ;
            white-space:nowrap ;
            cursor: pointer;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
            position: relative; 
        }
    }

}

main {
    position: relative ;
    flex: 1 ;
    top:10px ;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-end;
    min-width: 700px ;
    .placeHolder{
        min-height: 50px ;
    }
    .top-container{
        position: relative;
        width: 75% ;
        max-width: 75% ;
        min-height: 300px ;
        max-height: 300px ;
        //background-color: red ;
        box-shadow: 0px 0px 5px black ;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        &::before{
            content:"";
            position: absolute;
            top: -55px ;
            width: 750px ;
            height: 70px ;
            left: 50% ;
            margin-left: -375px ;
            background: url("../img/spr-1.png") no-repeat;
            z-index: -1 ;
        }
        &::after{
            content:"";
            position: absolute;
            bottom: -55px ;
            width: 750px ;
            height: 70px ;
            left: 50% ;
            margin-left: -375px ;
            background: url("../img/spr-2.png") no-repeat;
            z-index: -1 ;
        }
        .time-stamp{
            position: absolute;
            top: -30px ;
            left: 10px ;
            user-select: none;
            white-space:nowrap ;
            #site-time{
                margin-left: 30px ;
                font-size: 0.7em ;
                font-weight: 400 ;
                letter-spacing: 1.5px ;
                color: #636e72 ;
            }
        }
        .post-meta{
            position: absolute;
            bottom: -35px ;
            right: 30px ;
            width: auto;
            user-select: none;
            letter-spacing: 1.2px ;
            font-size: 0.7em ;
            font-family: "Josefin Sans Light",-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","'Hiragino Sans GB",STHeiti,"Microsoft Yahei","Source Han Sans SC","Noto Sans CJK SC","WenQuanYi Micro Hei",Arial,Verdana,sans-serif;
            color: #2f3542 ;
            a{
                color: #2f3542 ;
            }
            .post-cate{
                text-decoration: underline;
            }
            .post-tag{
                margin-left: 5px ;
                text-decoration: underline;
            }
        }
        .acticle-pic{
            position: absolute;
            width: 100% ;
            height: 100% ;
            overflow: hidden;
            background-size: cover ;
            background-position: center;
        }
    }
    .main-container{
        position: relative; 
        margin-top: 10px ;
        flex: 1 ;
        display: flex ;
        width: 75% ;
        max-width: 75% ;
        transition: 0.5s ;
        transform-origin: top ;
        flex-direction: column;
        //background-color: green ;
        .article-box{
            position: relative;
            flex: 0 auto ;
            width: 100% ;
            height: 220px ;
            margin-bottom: 50px ;
            padding: 0 ;
            //background: red ; 
            .post-meta{
                position: absolute;
                top: 20px ;
                left: 30px ;
                width: auto;
                user-select: none;
                letter-spacing: 1.2px ;
                font-size: 0.7em ;
                font-family: "Josefin Sans Light",-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","'Hiragino Sans GB",STHeiti,"Microsoft Yahei","Source Han Sans SC","Noto Sans CJK SC","WenQuanYi Micro Hei",Arial,Verdana,sans-serif;
                color: #2f3542 ;
                a{
                    color: #2f3542 ;
                    margin-left: 5px ;
                }
                .post-cate{
                    text-decoration: underline;
                }
                .post-tag{
                    margin-left: 5px ;
                    text-decoration: underline;
                }
            }
            .article-title{
                position: absolute; 
                box-sizing: border-box; 
                padding-left: 10px ;
                padding-right: 10px ;
                top: 40px ;
                left: 10px ;
                height: 40px ;
                width: auto;
                text-align: center;
                line-height: 40px ;
                font-size: 20px ;
                font-weight: bold;
                letter-spacing: 1.3px ;
                text-shadow: 1px 1px 2px  rgba(0, 0, 0, 0.1) ;
                z-index: 1 ;
                font-family: "Josefin Sans Light",-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","'Hiragino Sans GB",STHeiti,"Microsoft Yahei","Source Han Sans SC","Noto Sans CJK SC","WenQuanYi Micro Hei",Arial,Verdana,sans-serif;
                color: #2f3542 ;
                transition: 0.5s ;
                cursor: pointer;
                z-index: 1 ;
                &:hover{
                    background-color: #2f3542 ;
                    color: #f1f2f6 ;
                }
                
            }
            .box-background{
                position: absolute ;
                height: 70% ;
                width: 100% ;
                bottom: 0 ;
                /* -webkit-box-shadow: 0px 5px 5px #747d8c;
                box-shadow: 0px 5px 5px #747d8c; */
            }
            .box-main{
                position: absolute ;
                height: 70% ;
                width: 100% ;
                bottom: 0px ;
                background-color: rgba(241, 242, 246,0.5) ;
                &::before{
                    content:"";
                    position: absolute;
                    display: block;
                    width: 380px ;
                    height: 100%;
                    right: 50% ;
                    margin-right: -190px ;
                    top: -90px ;
                    background: url("../img/bg-zero-1.png") no-repeat;
                    z-index: -1 ;
                }
                &::after{
                    content:"";
                    position: absolute;
                    display: block;
                    width: 800px ;
                    height: 40px ;
                    right: 50% ;
                    margin-right: -400px ;
                    bottom: -20px ;
                    background: url("../img/bg-zero-2.png") no-repeat;
                    z-index: -1 ;
                }
                /* &::after {
                  content: "";
                  display: block;
                  width: 0px;
                  height: 0px;
                  background-color: skyblue;
                  top: 0px;
                  right: 0px;
                  border-bottom: 20px solid #ced6e0;
                  border-left: 20px solid #ced6e0;
                  border-right: 20px solid #ffffff;
                  border-top: 20px solid #ffffff;
                  position: absolute;
                  -webkit-filter: drop-shadow(-5px 5px 3px rgba(0, 0, 0, 0.3));
                          filter: drop-shadow(-5px 5px 3px rgba(0, 0, 0, 0.3));
                }
                &::before {
                  content: "";
                  display: block;
                  width: 0px;
                  height: 0px;
                  border-top: 30px solid #ced6e0;
                  border-right: 30px solid #ced6e0;
                  border-left: 30px solid #ffffff;
                  border-bottom: 30px solid #ffffff;
                  bottom: 0px;
                  left: 0px;
                  position: absolute;
                  -webkit-filter: drop-shadow(7px -7px 5px rgba(0, 0, 0, 0.3));
                          filter: drop-shadow(7px -7px 5px rgba(0, 0, 0, 0.3));
                  margin-right: 10%;
                } */
                p{
                    text-indent: 2em;
                    font-size: 14px;
                    letter-spacing: 1.3px ;
                    line-height: 1.7em;
                    text-shadow: 1px 1px 1px rgba(0,0,0,.04);
                    overflow: hidden;
                    text-overflow: ellipsis;
                    position: absolute;
                    right: 50px ;
                    left: 90px ;
                    bottom: 10px ;
                    top: 20px ;
                    font-family: "Josefin Sans Light",-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","'Hiragino Sans GB",STHeiti,"Microsoft Yahei","Source Han Sans SC","Noto Sans CJK SC","WenQuanYi Micro Hei",Arial,Verdana,sans-serif;
                    color: #606975;
                }
            }
        }
        
    }
}


.article-main p,.article-main ol{
    color: #2d3436;
    letter-spacing: .6px;
    color: #606975;
    line-height: 1.7em;
}
.article-main h1,.article-main h2,.article-main p,.article-main ol{
    font-family: "Josefin Sans Light",-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","'Hiragino Sans GB",STHeiti,"Microsoft Yahei","Source Han Sans SC","Noto Sans CJK SC","WenQuanYi Micro Hei",Arial,Verdana,sans-serif;
    color: #606975;
}
.article-main h1,.article-main h2,.article-main h3{
    position: relative;
    display: inline-block;
    font-weight: 500;
    line-height: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #2d3436;
    text-shadow: 0px 0px 4px rgba(178, 190, 195,0.5) ;
    letter-spacing: 1.5px ;
    text-align: center;
    display: inline-block;
    width: 100%;
}
.article-main h1{
    font-size: 32px ;
}
.article-main h2{
    font-size: 28px ;
}
.article-main h3{
    font-size: 24px;
}
.article-main h1::before,.article-main h2::before,.article-main h3::before{
    position: absolute;
    content: "";
    left: 30px ;
    top: 0px ;
    width: 30px ;
    height: 70px ;
    font-size: 0.8em ;
    color: rgba(225, 112, 85,1.0);
    text-shadow: 2px 2px 2px rgba(47, 53, 66,0.5) ;
    background: url("../img/spr-link-3.png") no-repeat;
}
.article-main h1::after,.article-main h2::after,.article-main h3::after{
    position: absolute;
    content: "";
    right: 30px ;
    top: 0px ;
    width: 30px ;
    height: 70px ;
    font-size: 0.8em ;
    color: rgba(225, 112, 85,1.0) ;
    text-shadow: 2px 2px 2px rgba(47, 53, 66,0.5) ; 
    background: url("../img/spr-link-2.png") no-repeat;
}
.article-main ol{
    margin-left: 2em ;
    margin-top: 5px ;
}
.article-main ol li{
    color: #606975;
    margin-top: 5px ;
    &:hover{
        color: #2f3542;
        text-shadow: 0px 0px 1px rgba(87, 96, 111,0.2) ;
    }
}
.article-main blockquote{
    color: rgba(164, 176, 190,1.0) ;
    padding: 10px ;
    position: relative;
    margin-top: 30px ;
    margin-bottom: 40px ;
    box-sizing: border-box;
    text-align: center;
    font-size: 0.9em ;
    &::before {
        content: "" ;
        font-size: 4em;
        position: absolute;
        width: 380px ;
        height: 70px ;
        left: 50% ;
        top: -50px ;
        margin-left: -190px ;
        color: rgba(47, 53, 66,1.0);
        background: url("../img/bq-t.png");
    }
    &::after {
        content: "" ;
        font-size: 4em;
        position: absolute;
        width: 380px ;
        height: 40px ;
        left: 50% ;
        bottom: -40px ;
        margin-left: -190px ;
        color: rgba(47, 53, 66,1.0);
        background: url("../img/bq-b.png");
    }
}
